package top.saodisheng.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.saodisheng.pojo.User;

import java.util.List;

/**
 * description:
 *
 * @author 扫地生_saodisheng
 * @date 2021/9/20
 */
@Mapper
public interface UserMapper {
	public List<User> queryUser();

	// 添加一个用户
	int addUser(User user);

	// 删除一个用户
	int deleteUser(@Param("id") int id);
}
